package com.ruoyi.peach.mapper;

import java.util.List;
import com.ruoyi.peach.domain.CollectRecord;

/**
 * 采集记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-22
 */
public interface CollectRecordMapper 
{
    /**
     * 查询采集记录
     * 
     * @param recordId 采集记录主键
     * @return 采集记录
     */
    public CollectRecord selectCollectRecordByRecordId(Long recordId);

    /**
     * 查询采集记录列表
     * 
     * @param collectRecord 采集记录
     * @return 采集记录集合
     */
    public List<CollectRecord> selectCollectRecordList(CollectRecord collectRecord);

    /**
     * 新增采集记录
     * 
     * @param collectRecord 采集记录
     * @return 结果
     */
    public int insertCollectRecord(CollectRecord collectRecord);

    /**
     * 修改采集记录
     * 
     * @param collectRecord 采集记录
     * @return 结果
     */
    public int updateCollectRecord(CollectRecord collectRecord);

    /**
     * 删除采集记录
     * 
     * @param recordId 采集记录主键
     * @return 结果
     */
    public int deleteCollectRecordByRecordId(Long recordId);

    /**
     * 批量删除采集记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCollectRecordByRecordIds(Long[] recordIds);

    /**
     * 根据ID列表查询采集记录
     *
     * @param recordIds 记录ID数组
     * @return 采集记录列表
     */
    List<CollectRecord> selectCollectRecordListByIds(Long[] recordIds);
}
